local extension = Package:new("wei")
extension.extensionName = "study"

extension:loadSkillSkelsByPath("./packages/study/pkg/wei/skills")

Fk:loadTranslationTable{
  ["wei"] = "魏",
  ["gai"] = "改",
  ["gai2"] = "改",
}

local caocao = General:new(extension, "gai2__caocao", "wei", 4)
caocao:addSkills { "ofl_mou__jianxiong", "mou__qingzheng", "ol_ex__hujia" }

Fk:loadTranslationTable{
  ["gai2__caocao"] = "谋曹操",

  ["~gai2__caocao"] = "惜天不假年，未成夙愿……",
  ["!gai2__caocao"] = "天下烽烟起逐鹿，吾代弱主扫六合！",
}

local zhonghui = General:new(extension, "gai__zhonghui", "wei", 4)
zhonghui:addSkills { "gai__quanji", "gai__zili" }
zhonghui:addRelatedSkills { "gai__paiyi" }

Fk:loadTranslationTable{
  ["gai__zhonghui"] = "界钟会",

  ["$gai__quanji1"] = "缓急不在一时，吾等慢慢来过。",
  ["$gai__quanji2"] = "善算轻重，权审其宜。",
  ["$gai__zili1"] = "吾功名盖世，岂可复为人下？",
  ["$gai__zili2"] = "天赐良机，不取何为？",
  ["$gai__paiyi1"] = "坏吾大计者，罪死不赦！",
  ["$gai__paiyi2"] = "攻讦此子，祸咎已除！",
  ["~gai__zhonghui"] = "父亲，吾能自知。却终不能自制……",
}

local simayi = General:new(extension, "gai__simayi", "jin", 3, 4)
simayi:addSkills { "buchen", "yingshis", "gai__xiongzhi", "quanbian" }

Fk:loadTranslationTable{
  ["gai__simayi"] = "司马懿",

  ["$gai__xiongzhi1"] = "烈士雄心，志存高远。",
  ["$gai__xiongzhi2"] = "乱世之中，唯我司马！",
  ["~gai__simayi"] = "虎入骷冢，司马难兴。",
}

local wenqin = General:new(extension, "gai__wenqin", "wei", 4)
wenqin.subkingdom = "wu"
wenqin:addSkills { "guangao", "gai__huiqi" }
wenqin:addRelatedSkill("xieju")

Fk:loadTranslationTable{
  ["gai__wenqin"] = "文钦",

  ["$gai__huiqi1"] = "老夫企踵西望，在殿奸邪可击。",
  ["$gai__huiqi2"] = "司马氏祸国乱政，天之所以殃之。",
  ["~gai__wenqin"] = "世受国恩，安能坐视权奸为患……",
}

local zhongyan = General:new(extension, "gai__zhongyan", "jin", 3, 3, General.Female)
zhongyan:addSkills { "gai__bolan", "yifa" }

Fk:loadTranslationTable{
  ["gai__zhongyan"] = "钟琰",

  ["$gai__bolan1"] = "博览群书，融会贯通。",
  ["$gai__bolan2"] = "博览于文，约之以礼。",
  ["~gai__zhongyan"] = "嗟尔姜任，邈不我留。",
}

local simazhao = General:new(extension, "gai__simazhao", "wei", 4)
table.insert(Fk.lords, "gai__simazhao") -- 没有主公技的常备主
simazhao:addSkills { "gai__qiantun", "gai__xiezheng", "gai__zhaoxiong" }

Fk:loadTranslationTable{
  ["gai__simazhao"] = "司马昭",
  ["!gai__simazhao"] = "明日正为吉日，当举禅位之典。",
  ["~gai__simazhao"] = "曹髦小儿竟有如此肝胆……我实不甘。",

  ["$gai__xiezheng1"] = "烈祖明皇帝乘舆仍出，陛下何妨效之。",
  ["$gai__xiezheng2"] = "陛下宜誓临戎，使将士得凭天威。",
  ["$gai__qiantun1"] = "辅国臣之本分，何敢图于禄勋。",
  ["$gai__qiantun2"] = "蜀贼吴寇未灭，臣未可受此殊荣。",
  ["$gai__qiantun3"] = "陛下一国之君，不可使以小性。",
  ["$gai__qiantun4"] = "讲经宴筵，实非治国之道也。",
  ["$gai__zhaoxiong1"] = "若得灭蜀之功，何不可受禅为帝。", 
  ["$gai__zhaoxiong2"] = "已极人臣之贵，当一尝人主之威。",
}

local simazhao2 = General:new(extension, "gai2__simazhao", "jin", 4)
simazhao2.hidden = true
simazhao2:addSkills { "gai__weisi", "gai__xiezheng", "gai__dangyi" }

Fk:loadTranslationTable{
  ["gai2__simazhao"] = "司马昭",
  ["!gai2__simazhao"] = "万里山河，终至我司马一家。",
  ["~gai2__simazhao"] = "愿我晋祚，万世不易，国运永昌。",

  ["$xiezheng_gai2__simazhao1"] = "既得众将之力，何愁贼不得平？",
  ["$xiezheng_gai2__simazhao2"] = "逆贼起兵作乱，诸位无心报国乎？",
  ["$gai__zhaoxiong1"] = "若得灭蜀之功，何不可受禅为帝。", 
  ["$gai__zhaoxiong2"] = "已极人臣之贵，当一尝人主之威。",
  ["$gai__dangyi1"] = "哼！斩首示众，以儆效尤。",
  ["$gai__dangyi2"] = "汝等仍存异心，可见心存魏阙。",
  ["$gai__weisi1"] = "上者慑敌以威，灭敌以势。",
  ["$gai__weisi2"] = "哼，求存者多，未见求死者也。",
  ["$gai__weisi3"] = "未想逆贼区区，竟然好物甚巨。",
}

local guanyu = General:new(extension, "gai__guanyu", "wei", 5)
guanyu:addSkills {"ex__wusheng", "nuzhan", "ty__danji" }
guanyu:addRelatedSkills {"mashu", "nuchen"}
Fk:loadTranslationTable{
  ["gai__guanyu"] = "关羽",

  ["~gai__guanyu"] = "樊城一去，死亦无惧……",
}

local guojia = General:new(extension, "gai__guojia", "wei", 3)
guojia:addSkills { "mou__tiandu", "mini_mou__yiji" }
Fk:loadTranslationTable{
  ["gai__guojia"] = "谋郭嘉",

  ["~gai__guojia"] = "蒙天所召，嘉先去矣，咳咳咳……",
}

local yanghu = General:new(extension, "gai__yanghu", "jin", 4)
yanghu.subkingdom = "wei"
yanghu:addSkills { "huaiyuan", "chongxin", "gai__dezhang" }
yanghu:addRelatedSkills { "weishu" }

Fk:loadTranslationTable{
  ["gai__yanghu"] = "羊祜",

  ["~gai__yanghu"] = "当断不断，反受其乱……",
}

local zhaoang = General:new(extension, "gai__zhaoang", "wei", 3, 4)
zhaoang:addSkills { "zhongjie", "gai__sushou" }

Fk:loadTranslationTable{
  ["gai__zhaoang"] = "赵昂",

  ["$gai__sushou1"] = "敌众我寡，怎可少谋？",
  ["$gai__sushou2"] = "临城据守，当出奇计。",
  ["~gai__zhaoang"] = "援军为何迟迟不至？",
}

local wangyi = General:new(extension, "gai__wangyi", "wei", 3, 3, General.Female)
wangyi:addSkills { "gai__zhenlie", "gai__miji" }
Fk:loadTranslationTable{
  ["gai__wangyi"] = "界王异",

  ["~gai__wangyi"] = "匹夫，还我儿命来！",
}

General:new(extension, "gai__xuncan", "wei", 3):addSkills { "gai__yushen", "gai__shangshen", "fenchai", "daojie" }
Fk:loadTranslationTable{
  ["gai__xuncan"] = "族荀粲",

  ["$daojie_gai__xuncan1"] = "君子持节，何移情乎？",
  ["$daojie_gai__xuncan2"] = "我心慕鸳，从一而终。",
  ["~gai__xuncan"] = "此钗，今日可合乎？",
}

local qinlang = General:new(extension, "gai__qinlang", "wei", 3)
qinlang:addSkills{ "haochong", "jinjin" }

Fk:loadTranslationTable{
  ["gai__qinlang"] = "秦朗",

  ["~gai__qinlang"] = "二姓之人，死无其所……",
}

local guohuai = General:new(extension, "gai__guohuai", "wei", 4)
guohuai:addSkills { "gai__jingce", "os_ex__yuzhang" }
Fk:loadTranslationTable{
  ["gai__guohuai"] = "界郭淮",

  ["~gai__guohuai"] = "姜维小儿，竟然……",
}

local caomao = General:new(extension, "gai__caomao", "wei", 3, 4)
caomao:addSkills { "qianlong", "fensi", "gai__juetao", "zhushi" }
Fk:loadTranslationTable{
  ["gai__caomao"] = "曹髦",

  ["$qianlong_gai__caomao1"] = "心愤无所表，下笔即成篇。",
  ["$qianlong_gai__caomao2"] = "手无实权难卫统，朦胧成睡，睡去还惊。",
  ["$fensi_gai__caomao1"] = "朕为天子，岂忍威权日去！",
  ["$fensi_gai__caomao2"] = "权臣震主，竟视天子于无物！",
  ["$zhushi_gai__caomao1"] = "暗蓄忠君之士，以待破局之机！",
  ["!gai__caomao"] = "少康诛寒浞以中兴，朕夷司马未尝不可！",
  ["~gai__caomao"] = "纵不成身死，朕亦为太祖子孙，大魏君王……",
}

local dengai = General:new(extension, "gai__dengai", "wei", 4)
dengai:addSkills { "gai__zhouxi", "zhoulind" }

Fk:loadTranslationTable{
  ["gai__dengai"] = "谋邓艾",

  ["$zhoulind_gai__dengai1"] = "哈哈哈哈，灭国擒主之功，古来几人？",
  ["$zhoulind_gai__dengai2"] = "锦官城头尽悬魏帜，吾笑淮阴竟请封假王。",
  ["~gai__dengai"] = "胜兵必骄，骄兵必败。",
}

local xiahoumao = General:new(extension, "gai__xiahoumao", "wei", 4)
xiahoumao:addSkills { "gai__tongwei", "cuguo" }
Fk:loadTranslationTable{
  ["gai__xiahoumao"] = "夏侯楙",

  ["~gai__xiahoumao"] = "志大才疏，以致今日之祸……",
}

local duyu = General:new(extension, "gai__duyu", "jin", 4)
duyu.subkingdom = "wei"
duyu:addSkills { "wuku", "gai__sanchen" }
duyu:addRelatedSkills{ "gai__miewu" }

Fk:loadTranslationTable{
  ["gai__duyu"] = "杜预",

  ["~gai__duyu"] = "洛水圆石，遂道向南，吾将以俭自完耳……",
}

local caopi = General:new(extension, "gai__caopi", "wei", 3)
caopi:addSkills { "gai__zhengsi", "sx__chengming" }

Fk:loadTranslationTable{
  ["gai__caopi"] = "曹丕",
}

local wangshen = General:new(extension, "gai__wangshen", "wei", 3)
wangshen:addSkills { "gai__anran", "gaobian", "zhongliu" }

Fk:loadTranslationTable{
  ["gai__wangshen"] = "族王沈",

  ["$zhongliu_gai__wangshen1"] = "活水驱沧海，天下大势不可违！",
  ["$zhongliu_gai__wangshen2"] = "志随中流之水，可济沧海之云帆！",
  ["~gai__wangshen"] = "我有从龙之志，何惧万世骂名！",
}

local xiahoudun = General:new(extension, "gai__xiahoudun", "wei", 4)
xiahoudun:addSkills{ "ex__ganglie", "gai__qingjian" }
Fk:loadTranslationTable{
  ["gai__xiahoudun"] = "界夏侯惇",

  ["~gai__xiahoudun"] = "诸多败绩，有负丞相重托。",
}

local simazhong = General:new(extension, "gai__simazhong", "jin", 3)
simazhong:addSkills { "gai__shuaizuo", "gai__airong", "gai__zaiting" }

Fk:loadTranslationTable{
  ["gai__simazhong"] = "司马衷",
}

local heyan = General:new(extension, "gai__heyan", "wei", 3)
heyan:addSkills { "yachai", "gai__qingtan" }

Fk:loadTranslationTable{
  ["gai__heyan"] = "何晏",

  ["~gai__heyan"] = "恃无以生。",
}

local zhugedan = General:new(extension, "gai__zhugedan", "wei", 4)
zhugedan:addSkills { "ty_ex__gongao", "gai__juyi", "ty_ex__weizhong" }
zhugedan:addRelatedSkills { "benghuai" }

Fk:loadTranslationTable{
  ["gai__zhugedan"] = "诸葛诞",

  ["$gongao_gai__zhugedan1"] = "大魏獒犬，恪忠于国。",
  ["$gongao_gai__zhugedan2"] = "斯人已逝，余者奋威。",
  ["$benghuai_gai__zhugedan"] = "诞，能得诸位死力，无憾矣。",
  ["~gai__zhugedan"] = "成功！成仁！",
}

local wangji = General:new(extension, "gai__wangji", "wei", 4)
wangji:addSkills { "gai__qizhi", "gai__jinqu" }

Fk:loadTranslationTable{
  ["gai__wangji"] = "王基",

  ["~gai__wangji"] = "天下之势，必归大魏，可恨，未能得见呐！",
}

local simashi = General:new(extension, "gai__simashi", "wei", 3)
simashi:addSkills { "qshm__sanshi", "gai__zhenrao", "qshm__chenlue" }

Fk:loadTranslationTable{
  ["gai__simashi"] = "谋司马师",

  ["~gai__simashi"] = "父兄未竟之业，万望子上珍之重之。",
}

local caofang = General:new(extension, "gai__caofang", "wei", 3, 4)
caofang:addSkills { "zhaotu", "jingju", "gai__jujianc", "weizhui" }

Fk:loadTranslationTable{
  ["gai__caofang"] = "曹芳",

  ["~gai__caofang"] = "报应不爽，司马家亦有今日。",
}

local caosong = General:new(extension, "gai__caosong", "wei", 4)
caosong:addSkills { "ofl__lilu", "yizhengc" }

Fk:loadTranslationTable{
  ["gai__caosong"] = "曹嵩",

  ["~gai__caosong"] = "孟德，勿忘汝父之仇！",
}

local yangjun = General:new(extension, "gai__yangjun", "jin", 4)
yangjun:addSkills { "gai__neiji" }

Fk:loadTranslationTable{
  ["gai__yangjun"] = "杨骏",
}

local guoxun = General:new(extension, "gai__guoxiu", "wei", 4)
guoxun:addSkills { "gai__eqian", "fusha" }
Fk:loadTranslationTable{
  ["gai__guoxiu"] = "郭循",
}

local simalun = General:new(extension, "gai__simalun", "jin", 4)
simalun:addSkills { "gai__zhulan", "gai__luanchang" }

Fk:loadTranslationTable{
  ["gai__simalun"] = "司马伦",
}

local zhangji = General:new(extension, "gai__zhangjih", "wei", 3)
zhangji:addSkills { "gai__dingzhen", "m_shi__youye" }

Fk:loadTranslationTable{
  ["gai__zhangjih"] = "张既",
}

local wangcan = General:new(extension, "gai__wangcan", "wei", 3)
wangcan:addSkills { "mini__qiai", "wisdom__shanxi" }

Fk:loadTranslationTable{
  ["gai__wangcan"] = "王粲",

  ["~gai__wangcan"] = "即戎有授命，兹理不可违。",
}

local caoang = General(extension, "gai__caoang", "wei", 4)
caoang:addSkills { "gai__kangkai" }
Fk:loadTranslationTable{
  ["gai__caoang"] = "曹昂",

  ["~gai__caoang"] = "典将军，还是你赢了……",
}

return extension